<include file="public:header"/>
<include file="public:left"/>
<style>
	td {
		text-align: center;
	}
</style>
<style type="text/css" src="__STATIC__/admin/css/style.css" ></style>
<section>
	<div class="page_title">
		<h2 class="fl">会员列表</h2>
		<form action="" method="get">
			<input type="text" class="page_title_input" name="keyword" placeholder="可搜索昵称或手机号码" value="{$keyword}">
			<input  class="page_title_submit" type="submit" value="搜索">
		</form>
		<form action="exportExcel" method="post" style="float: right;margin-top: -40px;">
			<input type="hidden" name="keyword" <if condition="isset($_GET['keyword'])">value="{$_GET['keyword']}"</if>>
			<input type="submit" value="导出数据" style="width: 70px; height: 25px;font-size: 11px; text-align: center;line-height: 10px;margin-top: 9px;margin-left: 10px;">
		</form>
	</div>
	<table class="table">
		<tr>
			<th>会员编号</th>
			<th>昵称</th>
			<th>手机号</th>
			<th>会员头像</th>
		</tr>

		<volist name="list" id="vo" key="k">
			<tr>
				<td>{$vo.id}</td>
				<td>{$vo.nickname}</td>
				<td>{$vo.mobile}</td>
				<td><img src="{$vo.headimage}" style="height: 80px;"></td>
			</tr>
		</volist>
	</table>

</section>
	{$list->render()}
<script>
	$(document).ready(function() {
		//tab
		$(".admin_tab li a").click(function() {
			var liindex = $(".admin_tab li a").index(this);
			$(this).addClass("active").parent().siblings().find("a").removeClass("active");
			$(".admin_tab_cont").eq(liindex).fadeIn(150).siblings(".admin_tab_cont").hide();
		});


	});
</script>

</div>
</section>
</body>

</html>